Fix 64-bit build.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 20 Mar 2006 17:20:44 +0000 (18:20 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 20 Mar 2006 17:20:44 +0000 (18:20 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/include/asm-x86/mach-es7000/mach_mpparse.h

index eb8b6c6665ea149540c9fef064c111737d224dba..ce17262a13844ab6ff2765c19d6fe3e18252b726 100644 (file)
@@ -12,7 +12,7 @@ static inline int mps_oem_check(struct mp_config_table *mpc, char *oem,
 {
        if (mpc->mpc_oemptr) {
                struct mp_config_oemtable *oem_table = 
-                       (struct mp_config_oemtable *)mpc->mpc_oemptr;
+                       (struct mp_config_oemtable *)(long)mpc->mpc_oemptr;
                if (!strncmp(oem, "UNISYS", 6))
                        return parse_unisys_oem((char *)oem_table);
        }